home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 12214 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: web.cae.ca!usenet
  2. From: fraserh@cae.ca (Fraser Hutchinson)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Borland 4.5 application won't work on its own
  5. Date: 18 Mar 1996 19:26:16 GMT
  6. Organization: CAE Electronics Ltd.
  7. Message-ID: <4ikdco$rck@web.cae.ca>
  8. References: <4i3fhh$bor@dole.uninett.no>
  9. NNTP-Posting-Host: pch63.cae.ca
  10. Mime-Version: 1.0
  11. Content-Type: Text/Plain; charset=US-ASCII
  12. X-Newsreader: WinVN 0.99.7
  13.  
  14. In article <4i3fhh$bor@dole.uninett.no>, Kristoffer.Moe@nifu.no says...
  15. >
  16. >I have recently developed an application with Borland C++ 
  17. >4.5 and OWL. It is based on a TDecoratedFrame parent with a TDialog as a 
  18. >child. The program works nicely (acceptably that is) when compiled and run 
  19. >'within' Borland IDE. However, when it is started on its own, whithout the 
  20. >Borland IDE loaded in the machine at all, it displays the TDecoratedFrame, 
  21. >and generates a General Protecton Fault. With Winspector running in the 
  22. >background it works again. The application is based on AppExpert.
  23.  
  24. I have seen this a lot with IDE's: my guess here is that you have a Rogue 
  25. pointer that is corrupting a memory address that doesn't bother the IDE but 
  26. crashes Windows.  NULL pointer assignment errors have caused this.  I would 
  27. suggest running the app through a memory leak detector like Purify or Bounds 
  28. Checker.
  29.  
  30. Fraser
  31.  
  32.  
  33.